<div id="page-wrapper">
    <div class="row headline" >
        <div class="col-md-12 headline-title" >
            <h3>学员招生 <img src="assets/img/angle-right.png" alt="" class="tubiao"></h3><h4>学员签到</h4>
        </div>
    </div>
    <table class="table ">
        <thead class="yuangong">
        <tr>
            <th>序号</th>
            <th>学员卡号</th>
            <th>学员姓名</th>
            <th>年级</th>
            <th>性别</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody class="xuhao">
        <tr ng-repeat="data in datas " >
            <td>{{$index+1+(page.pageNo-1)*page.limit}}</td>
            <td>{{data.sn}}</td>
            <td>{{data.name}}</td>
            <td>{{data.grade_name}}</td>
            <td ng-if="data.sex==0">女</td>
            <td ng-if="data.sex==1">男</td>
            <td width="30%">
                <span class="operation fa fa-edit"  ng-click="sign($index)" ng-if="data.sign!=1">签到</span>
                <span class="operation fa fa-edit"   ng-if="data.sign==1" style="color:red;">已签到</span>
                <span class="cancel fa fa-edit" ng-click="signout($index)" style="cursor: pointer"  ng-if="data.sign==1">取消</span>
            </td>
        </tr>
        </tbody>
    </table>
    <div class="row form-inline">
        <div class="col-md-8">
            <uib-pagination
                    total-items="page.totalCount"
                    ng-model="page.pageNo"
                    max-size="5"
                    class="samplePage pagination"
                    boundary-links="true"
                    force-ellipses="false"
                    first-text="首页"
                    last-text="末页"
                    previous-text="上一页"
                    next-text="下一页"
                    items-per-page="page.limit"
                    ng-change="pageChanged()"
                    boundary-link-numbers="true"
            >
            </uib-pagination>
        </div>
        <div class="col-md-4">
            <input type="text" class="form-control" style="width:100px;margin:25px 0" name="" ng-model="go" />
            <a class="btn btn-primary btn-sm" ng-click="setPage(go)">跳转</a>
        </div>
    </div>
    </div>
</div>
